package com.recsmile.sgs.operation;

import com.recsmile.sgs.entity.Activatable;
import com.recsmile.sgs.entity.GamePanel;
import com.recsmile.sgs.ui.components.*;

/**
 * Created by Administrator on 2016/8/26.
 */
public interface Operation {

    public void pushOperation(Operation operation, Activatable source);

    public void popOperation();

    public Operation getCurrentOperation();

    public void onCardClicked(CardGui card);

    public void onPlayerClicked(PlayerGui player);

    public void onSelfClicked(HeroGui self);

    public void onEquipmentClicked(EquipmentGui equipment);

    public void onConfirmed() ;

    public void onCanceled();

    public void onEnded() ;

    public void onActivated(GamePanel panel, Activatable source);
}
